﻿using Ninject;
using SmarterCharger.Library;

namespace SmarterCharger.BackgroundAgent
{
    public class ContainerInitializer
    {
        private static readonly IKernel _kernel = new StandardKernel();
        public static void Configure()
        {
            _kernel.Load(new LibraryModule());
        }

        public static T Get<T>()
        {
            return _kernel.Get<T>();
        }
    }
}
